<%-- 
    Document   : DetalleAsistencia
    Created on : 15-may-2014, 11:57:48
    Author     : Isaac Paliza <anndysaac@hotmail.com>
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        
        <meta charset="utf-8"/>
        <title>SICFE</title>
    </head>
    <body>
        <header>
            <samp style=color:#FA6900;>Detalle de Asistencia</samp>
        </header>
        <section>
            <section>
                <table border="1px" rules="rows" width="100%" height="100%">
                    <tr>
                        <td colspan="6" align="center">Datos del Trabajador</td>
                    </tr>
                    <tr>
                        <td>Apellidos y Nombres</td>
                        <td></td>
                    </tr>
                </table>
            </section>
            <%-- --%>
            <article id="fg">
                <table border="1px" rules="rows" width="100%" height="100%">
                    <tr bgcolor= "#FBB829" border="1px">
                        <th align="center">N.</th>
                        <th>Fecha</th>
                        <th align="left">ID Feria</th>
                        <th align="left">Nombre de Feria</th>
                        <th>Situacion</th>
                    </tr>
                
                <c:forEach items="${requestScope['ListaADetalle']}" var="d" varStatus="c">
                    <c:choose>
                        <c:when test="${(c.count % 2) == 0}"></c:when>
                        <c:otherwise><tr></c:otherwise>
                    </c:choose>
                        <td align="center">${c.count}</td>
                        <td align="center">${d['fecha']}</td>
                        <td>${d['idFeria']}</td>
                        <td>${d['nombre']}</td>
                        <td align="center">${d['situacion']}</td>
                        </tr>
                </c:forEach>
                
                </table>
            </article>
            
        </section>
    </body>
</html>
